package com.cleaningcloud.cld.domain;

import java.util.Date;

import com.cleaningcloud.common.core.web.domain.BaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.cleaningcloud.common.core.annotation.Excel;

/**
 * 培训讲师对象 cld_train_iecturer
 * 
 * @author cleaningcloud
 * @date 2024-10-22
 */
public class CldTrainIecturer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 讲师ID */
    private Long trainIecturerId;

    /** 员工ID */
    @Excel(name = "员工ID")
    private Long staffId;

    /** 任职状态(0取消1任职) */
    @Excel(name = "任职状态(0取消1任职)")
    private Long status;

    /** 任职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任职时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date iecturerTime;

    /** 取消时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "取消时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date unIecturerTime;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long createId;

    public void setTrainIecturerId(Long trainIecturerId) 
    {
        this.trainIecturerId = trainIecturerId;
    }

    public Long getTrainIecturerId() 
    {
        return trainIecturerId;
    }
    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setIecturerTime(Date iecturerTime) 
    {
        this.iecturerTime = iecturerTime;
    }

    public Date getIecturerTime() 
    {
        return iecturerTime;
    }
    public void setUnIecturerTime(Date unIecturerTime) 
    {
        this.unIecturerTime = unIecturerTime;
    }

    public Date getUnIecturerTime() 
    {
        return unIecturerTime;
    }
    public void setCreateId(Long createId) 
    {
        this.createId = createId;
    }

    public Long getCreateId() 
    {
        return createId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("trainIecturerId", getTrainIecturerId())
            .append("staffId", getStaffId())
            .append("status", getStatus())
            .append("iecturerTime", getIecturerTime())
            .append("unIecturerTime", getUnIecturerTime())
            .append("createId", getCreateId())
            .toString();
    }
}
